package com.daoxiang.service.impl;

import com.daoxiang.dao.ProvinceMapper;
import com.daoxiang.pojo.Province;
import com.daoxiang.service.ProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProvinceServiceImpl implements ProvinceService {

    @Autowired
    private ProvinceMapper provinceMapperl;

    @Override
    public Province queryProvinceByProId(String proId) {
        return null;
    }

    @Override
    public List<Province> queryAllProvince() {
        return this.provinceMapperl.selectAll();
    }
}
